package cn.iocoder.yudao.module.eval.controller.admin.subject.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;

@Schema(description = "管理后台 - 根据模板创建评价科目 Request VO")
@Data
public class EvalSubjectCreateByTemplateReqVO {

    @Schema(description = "计划ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "计划ID不能为空")
    private Long planId;

    @Schema(description = "模板ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "模板ID不能为空")
    private Long templateId;

    @Schema(description = "科目名称前缀", example = "2024年度")
    @Size(max = 50, message = "科目名称前缀长度不能超过50个字符")
    private String namePrefix;

} 